import API from './API'

export const getHomeBannerList = async () => {
  try {
    return await API.getHomeBanner()
  } catch (e) {
    console.error(e)
  }
}
export const getHomeNavList = async () => {
  try {
    return await API.getHomeNav()
  } catch (e) {
    console.error(e)
  }
}
export const getHomeNewsList = async () => {
  try {
    return await API.getHomeNews()
  } catch (e) {
    console.error(e)
  }
}
export const getHomeCakeList = async () => {
  try {
    return await API.getHomeCake()
  } catch (e) {
    console.error(e)
  }
}
export const getHomeFineProductsList = async () => {
  try {
    return await API.getHomeFineProducts()
  } catch (e) {
    console.error(e)
  }
}
export const getHomeCommodityList = async () => {
  try {
    return await API.getHomeCommodity()
  } catch (e) {
    console.error(e)
  }
}
